package com.mycode.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mycode.mapper.AreaMapper;
import com.mycode.service.AreaService;
import com.mycode.vo.SelectItemVO;

@Service
public class AreaServiceImpl implements AreaService{
	
	@Autowired
	private AreaMapper mapper;

	@Override
	public List<SelectItemVO> getCountryList() throws Exception {
		return mapper.getCountryList();
	}

	@Override
	public List<SelectItemVO> getCityList(int upperid) throws Exception {
		return mapper.getCityList(upperid);
	}


}
